#ifndef HEROPLANE_H
#define HEROPLANE_H
#include<QPixmap>
#include<QRect>
#include"bullet.h"
class heroplane
{
public:
    heroplane();
    void shoot();
    void setPosition(int x,int y);
    void moveLeft();
    void moveRight();
    void moveUp();
    void moveDown();
    QPixmap m_plane;
    int m_x;
    int m_y;
    QRect m_Rect;
    bullet m_bullets[BULLET_NUM];
    int m_recorder;
};

#endif // HEROPLANE_H
